package top.aicey.ai.sparring.dto.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 报告状态
 */
@AllArgsConstructor
@Getter
public enum EvaluationStatusEnum {

    PROGRESS(0),
    COMPLETE(1),
    ;


    private Integer value;


    public static EvaluationStatusEnum getEnumByValue(Integer value){
        for (EvaluationStatusEnum evaluationStatusEnum : values()) {
            if (evaluationStatusEnum.getValue().equals(value)){
                return evaluationStatusEnum;
            }
        }
        return null;
    }
}
